import Vue from 'vue'
import router from './router/index'
import store from './store/index'
import App from '@/App'
import '@/styles/app.scss'
import './plugins/element-ui'
import Popup from './popup'
import { formatTimeStamp, formatSeconds, urlTobase64, parseTime } from '@/utils'

Vue.use(Popup)
Vue.prototype._store = store
Vue.prototype.$utils = {
  formatTimeStamp,
  formatSeconds,
  urlTobase64,
  parseTime
}

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
